﻿<Windows:AbstractRibbonGroupBox x:Class="PefStudio.Windows.ARibbonGroupBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:Windows="clr-namespace:PefStudio.Windows;assembly=PefStudio.Ribbon" xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Icon="Images\Default.png" Fluent:KeyTip.Keys="A">
    <Fluent:InRibbonGallery Icon="Images/Default.png" LargeIcon="Images/GalleryLarge.png" x:Name="inRibbonGallery1" Header="In-Ribbon Gallery" Fluent:KeyTip.Keys="JS" SelectedFilter="{Binding ElementName=galleryFilterAll}" ResizeMode="Both" MinItemsInRow="2" MaxItemsInRow="7" SizeDefinition="Large" Orientation="Horizontal" ItemWidth="40" ItemHeight="56" GroupBy="Tag" CanCollapseToButton="True" MinItemsInDropDownRow="4">
        <Fluent:InRibbonGallery.Filters>
            <Fluent:GalleryGroupFilter Title="All" Groups="Group1,Group2" x:Name="galleryFilterAll"/>
            <Fluent:GalleryGroupFilter Title="Group1 L" Groups="Group1"/>
            <Fluent:GalleryGroupFilter Title="Group2 L" Groups="Group2"/>
        </Fluent:InRibbonGallery.Filters>
        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >1</TextBlock>
        </Border>
        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >2</TextBlock>
        </Border>
        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >3</TextBlock>
        </Border>
        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >4</TextBlock>
        </Border>
        <Border Tag="Group1" x:Name="ghh" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >33</TextBlock>
        </Border>
        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >5</TextBlock>
        </Border>
        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >6</TextBlock>
        </Border>
        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >7</TextBlock>
        </Border>
    </Fluent:InRibbonGallery>

    <!--<Fluent:SplitButton Icon="../Images/Default.png" LargeIcon="../Images/GalleryLarge.png" Header="Split" Fluent:KeyTip.Keys="S" ResizeMode="Both" SizeDefinition="Large" MaxDropDownHeight="100">
        <Fluent:Gallery x:Name="gallery" MinHeight="60" MinItemsInRow="2" MaxItemsInRow="6" ItemWidth="28" ItemHeight="28">
            <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >1</TextBlock>
            </Border>
            <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >2</TextBlock>
            </Border>
            <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >3</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >4</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >5</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >6</TextBlock>
            </Border>
            <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >7</TextBlock>
            </Border>
            <Border Tag="Group3" BorderThickness="1" BorderBrush="Aqua">
                <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >8</TextBlock>
            </Border>
        </Fluent:Gallery>
        <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="E"  Icon="..\Images\ChangeCase.png"/>
        <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="R">
            <Fluent:MenuItem Header="Itemq" Fluent:KeyTip.Keys="A"/>
            <Fluent:MenuItem Header="Itemw" Fluent:KeyTip.Keys="B"/>
            <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="R" Icon="..\Images\ChangeCase.png">
                <Fluent:MenuItem Header="Itemq" Fluent:KeyTip.Keys="A" MaxDropDownHeight="350">
                    <Fluent:Gallery x:Name="galleryl" MinHeight="60" MinItemsInRow="3" MaxItemsInRow="6" ItemWidth="28" ItemHeight="28">
                        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >1</TextBlock>
                        </Border>
                        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >2</TextBlock>
                        </Border>
                        <Border Tag="Group1" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >3</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >4</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >5</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >6</TextBlock>
                        </Border>
                        <Border Tag="Group2" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >7</TextBlock>
                        </Border>
                        <Border Tag="Group3" BorderThickness="1" BorderBrush="Aqua">
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" >8</TextBlock>
                        </Border>
                    </Fluent:Gallery>
                </Fluent:MenuItem>
                <Fluent:MenuItem Header="Itemw" Fluent:KeyTip.Keys="B"/>
                <Fluent:MenuItem Header="Item5" Fluent:KeyTip.Keys="R">
                    <Fluent:MenuItem Header="Itemq" Fluent:KeyTip.Keys="A"/>
                    <Fluent:MenuItem Header="Itemw" Fluent:KeyTip.Keys="B"/>
                    <Fluent:MenuItem Header="Iteme" Fluent:KeyTip.Keys="C"/>
                </Fluent:MenuItem>
            </Fluent:MenuItem>
        </Fluent:MenuItem>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
        <Fluent:MenuItem Header="Item"/>
    </Fluent:SplitButton>-->
</Windows:AbstractRibbonGroupBox>